'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')

module.exports = merge(prodEnv, {
  NODE_ENV: '"development"',
  BASE_API: '"http://localhost:7900/"',

  // 跨域
  devServer: {
    port: 7950,
    host: 'localhost',
    open: true,
    proxy: {
      "/api" : {
        target: 'http://localhost:7900/',
        changeOrigin: true,
        pathRewrite: {
          "^/api" : ""
        }
      }
    }
  },
  
})
